const imageApi = {

    upload: function (param) {
        return axiosApi.post("/upload", param);
    },

    singleCompress: function (param) {
        return axiosApi.post("/compress/single", param);
    },

    batchCompress: function (param) {
        return axiosApi.post("/compress/batch", param);
    },

    query: function (param) {
        return axiosApi.get("/query", param);
    },

    download: function (param) {
        return axiosApi.get("/download", param);
    },
}